package com.zb;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * <p>添加描述信息</p>
 *
 * @author 李柯
 * @since 2022年11月16日 11:53
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableScheduling//开启全局定时
@EnableAsync//开启异步
public class SeckillApplication {
    public static void main(String[] args) {
        SpringApplication.run(SeckillApplication.class, args);
    }
}
